home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• The School House •
/
Camera(HFS) •••
/
Camera(HFS) еее.rsrc
/
CODE_1.txt
< prev
next >
Wrap
Text File
|
1992-01-01
|
100KB
|
1,841 lines
# near model CODE resource
# jump table entries: 0-56 (57 of them)
fn00000000:
00000000 4E56 FFEC link A6, -0x0014
00000004 2F0C move.l -[A7], A4
00000006 42A7 clr.l -[A7]
00000008 3F3C 0190 move.w -[A7], 0x190
0000000C 42A7 clr.l -[A7]
0000000E 70FF moveq.l D0, 0xFFFFFFFF
00000010 2F00 move.l -[A7], D0
00000012 A97C syscall GetNewDialog
00000014 285F movea.l A4, [A7]+
00000016 2F0C move.l -[A7], A4
00000018 486E FFEC pea.l [A6 - 0x14]
0000001C 4EAD 03C2 jsr [A5 + 0x3C2 /* export_116 */]
00000020 2F0C move.l -[A7], A4
00000022 A915 syscall ShowWindow
label00000024:
00000024 42A7 clr.l -[A7]
00000026 486E FFFA pea.l [A6 - 0x6]
0000002A A991 syscall ModalDialog
0000002C 0C6E 0001 FFFA cmpi.w [A6 - 0x6], 0x1
00000032 66F0 bne -0xE /* 00000024 */
00000034 2F0C move.l -[A7], A4
00000036 A983 syscall DisposeDialog
00000038 486E FFEC pea.l [A6 - 0x14]
0000003C 4EAD 03BA jsr [A5 + 0x3BA /* export_115 */]
00000040 285F movea.l A4, [A7]+
00000042 4E5E unlink A6
00000044 4E75 rts
export_1:
00000046 4E56 0000 link A6, 0
0000004A 4E5E unlink A6
0000004C 4E75 rts
export_18:
fn0000004E:
0000004E 4E56 0000 link A6, 0
00000052 102D FFFE move.b D0, [A5 - 0x2]
00000056 802D FFFF or.b D0, [A5 - 0x1]
0000005A 1D40 0008 move.b [A6 + 0x8], D0
0000005E 4E5E unlink A6
00000060 4E75 rts
export_5:
fn00000062:
00000062 4E56 FEE6 link A6, -0x011A
00000066 48E7 0700 movem.l -[A7], D5,D6,D7
0000006A 4267 clr.w -[A7]
0000006C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000070 A86A syscall HiWord
00000072 3C1F move.w D6, [A7]+
00000074 4267 clr.w -[A7]
00000076 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000007A A86B syscall LoWord
0000007C 3E1F move.w D7, [A7]+
0000007E 3006 move.w D0, D6
00000080 0440 012C subi.w D0, 0x12C
00000084 6714 beq +0x16 /* 0000009A */
00000086 5340 subq.w D0, 1
00000088 6734 beq +0x36 /* 000000BE */
0000008A 5340 subq.w D0, 1
0000008C 6700 0088 beq +0x8A /* 00000116 */
00000090 5740 subq.w D0, 3
00000092 6700 0094 beq +0x96 /* 00000128 */
00000096 6000 009C bra +0x9E /* 00000134 */
label0000009A:
0000009A 0C47 0001 cmpi.w D7, 0x1
0000009E 6606 bne +0x8 /* 000000A6 */
000000A0 4EBA FF5E jsr [PC - 0xA2 /* 00000000 */]
000000A4 6016 bra +0x18 /* 000000BC */
label000000A6:
000000A6 2F2D FEF0 move.l -[A7], [A5 - 0x110]
000000AA 3F07 move.w -[A7], D7
000000AC 486E FF00 pea.l [A6 - 0x100]
000000B0 A946 syscall GetMenuItemText/GetItem
000000B2 4267 clr.w -[A7]
000000B4 486E FF00 pea.l [A6 - 0x100]
000000B8 A9B6 syscall OpenDeskAcc
000000BA 3A1F move.w D5, [A7]+
label000000BC:
000000BC 6076 bra +0x78 /* 00000134 */
label000000BE:
000000BE 3007 move.w D0, D7
000000C0 5340 subq.w D0, 1
000000C2 6706 beq +0x8 /* 000000CA */
000000C4 5340 subq.w D0, 1
000000C6 6746 beq +0x48 /* 0000010E */
000000C8 606A bra +0x6C /* 00000134 */
label000000CA:
000000CA 3D7C 0064 FEE8 move.w [A6 - 0x118], 0x64 /* 'd' */
000000D0 3D7C 0064 FEE6 move.w [A6 - 0x11A], 0x64 /* 'd' */
000000D6 2D7C 4150 504C FEEA move.l [A6 - 0x116], 0x4150504C /* 'APPL' */
000000DE 2B7C 0352 756E FD80 move.l [A5 - 0x280], 0x352756E
000000E6 2F2E FEE6 move.l -[A7], [A6 - 0x11A]
000000EA 487A 0056 pea.l [PC + 0x56 /* 00000142, value 0x4E56 'NV', cstring "" */]
000000EE 42A7 clr.l -[A7]
000000F0 3F3C 0001 move.w -[A7], 0x1
000000F4 486E FEEA pea.l [A6 - 0x116]
000000F8 41FA 0B60 lea.l A0, [PC + 0xB60 /* 00000C5A, value 0x4E56FFF2 */]
000000FC 2F08 move.l -[A7], A0
000000FE 486D FF00 pea.l [A5 - 0x100]
00000102 4EBA 08DC jsr [PC + 0x8DC /* 000009E0 */]
00000106 1B6D FF00 FFFF move.b [A5 - 0x1], [A5 - 0x100]
0000010C 6026 bra +0x28 /* 00000134 */
label0000010E:
0000010E 1B7C 0001 FFFE move.b [A5 - 0x2], 0x1
00000114 601E bra +0x20 /* 00000134 */
label00000116:
00000116 4267 clr.w -[A7]
00000118 2007 move.l D0, D7
0000011A 5340 subq.w D0, 1
0000011C 3F00 move.w -[A7], D0
0000011E A9C2 syscall SysEdit
00000120 101F move.b D0, [A7]+
00000122 0A00 0001 xori.b D0, 0x1
00000126 600C bra +0xE /* 00000134 */
label00000128:
00000128 0C47 0001 cmpi.w D7, 0x1
0000012C 6606 bne +0x8 /* 00000134 */
0000012E 4EAD 03CA jsr [A5 + 0x3CA /* export_117 */]
00000132 A937 syscall DrawMenuBar
label00000134:
00000134 4267 clr.w -[A7]
00000136 A938 syscall HiliteMenu
00000138 4CDF 00E0 movem.l D5,D6,D7, [A7]+
0000013C 4E5E unlink A6
0000013E 2E9F move.l [A7], [A7]+
00000140 4E75 rts
00000142 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000144-00000148
export_6:
fn00000144:
00000144 4E56 FFE6 link A6, -0x001A
// end alternate branch 00000144-00000148
export_6: // at 00000144 (misaligned)
fn00000144: // (misaligned)
00000146 FFE6 .invalid <<F/7/7>>
00000148 48E7 0300 movem.l -[A7], D6,D7
0000014C 206E 0008 movea.l A0, [A6 + 0x8]
00000150 43EE FFF0 lea.l A1, [A6 - 0x10]
00000154 22D8 move.l [A1]+, [A0]+
00000156 22D8 move.l [A1]+, [A0]+
00000158 22D8 move.l [A1]+, [A0]+
0000015A 22D8 move.l [A1]+, [A0]+
0000015C 701E moveq.l D0, 0x1E
0000015E 3200 move.w D1, D0
00000160 E641 asr D1.w, 3
00000162 41ED FD92 lea.l A0, [A5 - 0x26E]
00000166 0130 1000 btst [A0 + D1.w], D0
0000016A 6706 beq +0x8 /* 00000172 */
0000016C 2F2D FF4E move.l -[A7], [A5 - 0xB2]
00000170 A873 syscall SetPort
label00000172:
00000172 2D6E FFF2 FFEA move.l [A6 - 0x16], [A6 - 0xE]
00000178 302E FFF0 move.w D0, [A6 - 0x10]
0000017C 5340 subq.w D0, 1
0000017E 670A beq +0xC /* 0000018A */
00000180 5B40 subq.w D0, 5
00000182 6700 00A6 beq +0xA8 /* 0000022A */
00000186 6000 00AE bra +0xB0 /* 00000236 */
label0000018A:
0000018A 4267 clr.w -[A7]
0000018C 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000190 486E FFEA pea.l [A6 - 0x16]
00000194 A92C syscall FindWindow
00000196 3C1F move.w D6, [A7]+
00000198 3006 move.w D0, D6
0000019A 5340 subq.w D0, 1
0000019C 6712 beq +0x14 /* 000001B0 */
0000019E 5340 subq.w D0, 1
000001A0 671C beq +0x1E /* 000001BE */
000001A2 5540 subq.w D0, 2
000001A4 6724 beq +0x26 /* 000001CA */
000001A6 5340 subq.w D0, 1
000001A8 6752 beq +0x54 /* 000001FC */
000001AA 5340 subq.w D0, 1
000001AC 672C beq +0x2E /* 000001DA */
000001AE 6078 bra +0x7A /* 00000228 */
label000001B0:
000001B0 42A7 clr.l -[A7]
000001B2 2F2E FFFA move.l -[A7], [A6 - 0x6]
000001B6 A93D syscall MenuSelect
000001B8 4EBA FEA8 jsr [PC - 0x158 /* 00000062 */]
000001BC 6078 bra +0x7A /* 00000236 */
label000001BE:
000001BE 486E FFF0 pea.l [A6 - 0x10]
000001C2 2F2E FFEA move.l -[A7], [A6 - 0x16]
000001C6 A9B3 syscall SystemClick
000001C8 606C bra +0x6E /* 00000236 */
label000001CA:
000001CA 2F2E FFEA move.l -[A7], [A6 - 0x16]
000001CE 2F2E FFFA move.l -[A7], [A6 - 0x6]
000001D2 486D FDA8 pea.l [A5 - 0x258]
000001D6 A925 syscall DragWindow
000001D8 605C bra +0x5E /* 00000236 */
label000001DA:
000001DA 4267 clr.w -[A7]
000001DC 2F2E FFEA move.l -[A7], [A6 - 0x16]
000001E0 2F2E FFFA move.l -[A7], [A6 - 0x6]
000001E4 A91E syscall TrackGoAway
000001E6 101F move.b D0, [A7]+
000001E8 6710 beq +0x12 /* 000001FA */
000001EA 202E FFEA move.l D0, [A6 - 0x16]
000001EE B0AD FF4E cmp.l D0, [A5 - 0xB2]
000001F2 6606 bne +0x8 /* 000001FA */
000001F4 2F2E FFEA move.l -[A7], [A6 - 0x16]
000001F8 A916 syscall HideWindow
label000001FA:
000001FA 603A bra +0x3C /* 00000236 */
label000001FC:
000001FC 42A7 clr.l -[A7]
000001FE 2F2E FFEA move.l -[A7], [A6 - 0x16]
00000202 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000206 486D FDA0 pea.l [A5 - 0x260]
0000020A A92B syscall GrowWindow
0000020C 2E1F move.l D7, [A7]+
0000020E 4A87 tst.l D7
00000210 6716 beq +0x18 /* 00000228 */
00000212 2F2E FFEA move.l -[A7], [A6 - 0x16]
00000216 4267 clr.w -[A7]
00000218 2F07 move.l -[A7], D7
0000021A A86B syscall LoWord
0000021C 4267 clr.w -[A7]
0000021E 2F07 move.l -[A7], D7
00000220 A86A syscall HiWord
00000222 1F3C 0001 move.b -[A7], 0x1
00000226 A91D syscall SizeWindow
label00000228:
00000228 600C bra +0xE /* 00000236 */
label0000022A:
0000022A 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000022E A922 syscall BeginUpdate
00000230 2F2E FFEA move.l -[A7], [A6 - 0x16]
00000234 A923 syscall EndUpdate
label00000236:
00000236 4CDF 00C0 movem.l D6,D7, [A7]+
0000023A 4E5E unlink A6
0000023C 2E9F move.l [A7], [A7]+
0000023E 4E75 rts
export_33:
00000240 4E56 0000 link A6, 0
00000244 4E5E unlink A6
00000246 4E75 rts
fn00000248:
00000248 4E56 0000 link A6, 0
0000024C 700F moveq.l D0, 0x0F
0000024E 3200 move.w D1, D0
00000250 E641 asr D1.w, 3
00000252 41ED FD92 lea.l A0, [A5 - 0x26E]
00000256 0130 1000 btst [A0 + D1.w], D0
0000025A 6606 bne +0x8 /* 00000262 */
0000025C 3F3C 012C move.w -[A7], 0x12C
00000260 A936 syscall DeleteMenu
label00000262:
00000262 701F moveq.l D0, 0x1F
00000264 3200 move.w D1, D0
00000266 E641 asr D1.w, 3
00000268 41ED FD92 lea.l A0, [A5 - 0x26E]
0000026C 0130 1000 btst [A0 + D1.w], D0
00000270 6606 bne +0x8 /* 00000278 */
00000272 3F3C 012D move.w -[A7], 0x12D
00000276 A936 syscall DeleteMenu
label00000278:
00000278 7010 moveq.l D0, 0x10
0000027A 3200 move.w D1, D0
0000027C E641 asr D1.w, 3
0000027E 41ED FD92 lea.l A0, [A5 - 0x26E]
00000282 0130 1000 btst [A0 + D1.w], D0
00000286 6606 bne +0x8 /* 0000028E */
00000288 3F3C 012E move.w -[A7], 0x12E
0000028C A936 syscall DeleteMenu
label0000028E:
0000028E 7012 moveq.l D0, 0x12
00000290 3200 move.w D1, D0
00000292 E641 asr D1.w, 3
00000294 41ED FD92 lea.l A0, [A5 - 0x26E]
00000298 0130 1000 btst [A0 + D1.w], D0
0000029C 6606 bne +0x8 /* 000002A4 */
0000029E 3F3C 0131 move.w -[A7], 0x131
000002A2 A936 syscall DeleteMenu
label000002A4:
000002A4 A937 syscall DrawMenuBar
000002A6 4E5E unlink A6
000002A8 4E75 rts
export_0:
000002AA 4EBA 0A4C jsr [PC + 0xA4C /* 00000CF8 */]
000002AE 4E56 0000 link A6, 0
000002B2 2C5F movea.l A6, [A7]+
000002B4 4E55 0000 link A5, 0
000002B8 9FED 0010 sub.l A7, [A5 + 0x10]
000002BC 4EBA 0A4E jsr [PC + 0xA4E /* 00000D0C */]
000002C0 2B4F FEEC move.l [A5 - 0x114], A7
000002C4 2B4E FEE8 move.l [A5 - 0x118], A6
000002C8 42A7 clr.l -[A7]
000002CA 4EBA 0D32 jsr [PC + 0xD32 /* 00000FFE */]
000002CE 2B5F FEE4 move.l [A5 - 0x11C], [A7]+
000002D2 4EBA 0112 jsr [PC + 0x112 /* 000003E6 */]
000002D6 4EBA 0182 jsr [PC + 0x182 /* 0000045A */]
000002DA 4EBA 017E jsr [PC + 0x17E /* 0000045A */]
000002DE 4EBA 017A jsr [PC + 0x17A /* 0000045A */]
000002E2 4EBA 0176 jsr [PC + 0x176 /* 0000045A */]
000002E6 42A7 clr.l -[A7]
000002E8 2F3C 0000 07D0 move.l -[A7], 0x7D0
000002EE 4EBA 012A jsr [PC + 0x12A /* 0000041A */]
000002F2 2B5F FF4A move.l [A5 - 0xB6], [A7]+
000002F6 4EAD 01F2 jsr [A5 + 0x1F2 /* export_58 */]
000002FA 2F2D FF4A move.l -[A7], [A5 - 0xB6]
000002FE 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
00000302 41ED 0212 lea.l A0, [A5 + 0x212 /* export_62 */]
00000306 2F08 move.l -[A7], A0
00000308 A9F1 syscall UnloadSeg
0000030A 41ED 01F2 lea.l A0, [A5 + 0x1F2 /* export_58 */]
0000030E 2F08 move.l -[A7], A0
00000310 A9F1 syscall UnloadSeg
00000312 4EAD 03CA jsr [A5 + 0x3CA /* export_117 */]
00000316 4267 clr.w -[A7]
00000318 4EBA FD34 jsr [PC - 0x2CC /* 0000004E */]
0000031C 101F move.b D0, [A7]+
0000031E 0A00 0001 xori.b D0, 0x1
00000322 6760 beq +0x62 /* 00000384 */
00000324 7012 moveq.l D0, 0x12
00000326 3200 move.w D1, D0
00000328 E641 asr D1.w, 3
0000032A 41ED FD92 lea.l A0, [A5 - 0x26E]
0000032E 0130 1000 btst [A0 + D1.w], D0
00000332 56C0 sne D0
00000334 720E moveq.l D1, 0x0E
00000336 3401 move.w D2, D1
00000338 E642 asr D2.w, 3
0000033A 41ED FD92 lea.l A0, [A5 - 0x26E]
0000033E 0330 2000 btst [A0 + D2.w], D1
00000342 57C1 seq D1
00000344 8001 or.b D0, D1
00000346 673C beq +0x3E /* 00000384 */
00000348 700E moveq.l D0, 0x0E
0000034A 3200 move.w D1, D0
0000034C E641 asr D1.w, 3
0000034E 41ED FD92 lea.l A0, [A5 - 0x26E]
00000352 0130 1000 btst [A0 + D1.w], D0
00000356 6706 beq +0x8 /* 0000035E */
00000358 4EBA FEEE jsr [PC - 0x112 /* 00000248 */]
0000035C 6002 bra +0x4 /* 00000360 */
label0000035E:
0000035E A937 syscall DrawMenuBar
label00000360:
00000360 A9B4 syscall SystemTask
00000362 4267 clr.w -[A7]
00000364 3F3C FFFF move.w -[A7], 0xFFFF
00000368 486D FFEE pea.l [A5 - 0x12]
0000036C A970 syscall GetNextEvent
0000036E 101F move.b D0, [A7]+
00000370 6708 beq +0xA /* 0000037A */
00000372 486D FFEE pea.l [A5 - 0x12]
00000376 4EBA FDCC jsr [PC - 0x234 /* 00000144 */]
label0000037A:
0000037A 102D FFFF move.b D0, [A5 - 0x1]
0000037E 802D FFFE or.b D0, [A5 - 0x2]
00000382 67DC beq -0x22 /* 00000360 */
label00000384:
00000384 700B moveq.l D0, 0x0B
00000386 3200 move.w D1, D0
00000388 E641 asr D1.w, 3
0000038A 41ED FD92 lea.l A0, [A5 - 0x26E]
0000038E 0130 1000 btst [A0 + D1.w], D0
00000392 6704 beq +0x6 /* 00000398 */
00000394 4EBA 0780 jsr [PC + 0x780 /* 00000B16 */]
label00000398:
00000398 102D FFFF move.b D0, [A5 - 0x1]
0000039C 6704 beq +0x6 /* 000003A2 */
0000039E 4EAD 01EA jsr [A5 + 0x1EA /* export_57 */]
export_56:
label000003A2:
000003A2 2E6D FEEC movea.l A7, [A5 - 0x114]
000003A6 2C6D FEE8 movea.l A6, [A5 - 0x118]
000003AA 202D FEE4 move.l D0, [A5 - 0x11C]
000003AE 2F00 move.l -[A7], D0
000003B0 4EBA 0C4E jsr [PC + 0xC4E /* 00001000 */]
000003B4 4EBA 0962 jsr [PC + 0x962 /* 00000D18 */]
000003B8 4E5D unlink A5
000003BA 4EBA 094E jsr [PC + 0x94E /* 00000D0A */]
000003BE 4E75 rts
000003C0 4E5E unlink A6
000003C2 4E75 rts
000003C4 225F movea.l A1, [A7]+
000003C6 201F move.l D0, [A7]+
000003C8 A04C syscall CompactMem
000003CA 2E80 move.l [A7], D0
000003CC 4E71 nop
000003CE 7000 moveq.l D0, 0x00
label000003D0:
000003D0 2F09 move.l -[A7], A1
label000003D2:
000003D2 31C0 0220 move.w [0x00000220 /* MemErr */], D0
000003D6 4E75 rts
000003D8 7000 moveq.l D0, 0x00
000003DA 60F6 bra -0x8 /* 000003D2 */
export_34:
000003DC 225F movea.l A1, [A7]+
000003DE 201F move.l D0, [A7]+
000003E0 A040 syscall ResrvMem/ReserveMem
000003E2 4EFA FFEC jmp [PC - 0x14 /* 000003D0 */]
fn000003E6:
000003E6 4A38 028E tst.b [0x0000028E /* ROM85 */]
000003EA 6A2A bpl +0x2C /* 00000416 */
000003EC 2078 0130 movea.l A0, [0x00000130 /* ApplLimit */]
000003F0 43F8 0114 lea.l A1, [0x00000114 /* HeapEnd */]
000003F4 2008 move.l D0, A0
000003F6 9091 sub.l D0, [A1]
000003F8 740C moveq.l D2, 0x0C
000003FA B082 cmp.l D0, D2
000003FC 6516 bcs +0x18 /* 00000414 */
000003FE 2251 movea.l A1, [A1]
00000400 21C8 0114 move.l [0x00000114 /* HeapEnd */], A0
00000404 2280 move.l [A1], D0
00000406 4211 clr.b [A1]
00000408 2278 02AA movea.l A1, [0x000002AA /* ApplZone */]
0000040C 2288 move.l [A1], A0
0000040E 2082 move.l [A0], D2
00000410 D1A9 000C add.l [A1 + 0xC], D0
label00000414:
00000414 4E75 rts
label00000416:
00000416 A063 syscall MaxApplZone
00000418 4E75 rts
export_22:
fn0000041A:
0000041A 225F movea.l A1, [A7]+
0000041C 201F move.l D0, [A7]+
0000041E A11E syscall NewPtr, flags=1
00000420 2E88 move.l [A7], A0
00000422 4EFA FFAC jmp [PC - 0x54 /* 000003D0 */]
export_4:
00000426 225F movea.l A1, [A7]+
00000428 205F movea.l A0, [A7]+
0000042A A01F syscall DisposPtr/DisposePtr
0000042C 4EFA FFA2 jmp [PC - 0x5E /* 000003D0 */]
export_21:
00000430 225F movea.l A1, [A7]+
00000432 201F move.l D0, [A7]+
00000434 A122 syscall NewHandle, flags=1
00000436 2E88 move.l [A7], A0
00000438 4EFA FF96 jmp [PC - 0x6A /* 000003D0 */]
export_3:
0000043C 225F movea.l A1, [A7]+
0000043E 205F movea.l A0, [A7]+
00000440 A023 syscall DisposHandle/DisposeHandle
00000442 4EFA FF8C jmp [PC - 0x74 /* 000003D0 */]
export_16:
00000446 225F movea.l A1, [A7]+
00000448 205F movea.l A0, [A7]+
0000044A A029 syscall HLock
0000044C 4EFA FF82 jmp [PC - 0x7E /* 000003D0 */]
export_17:
00000450 225F movea.l A1, [A7]+
00000452 205F movea.l A0, [A7]+
00000454 A02A syscall HUnlock
00000456 4EFA FF78 jmp [PC - 0x88 /* 000003D0 */]
fn0000045A:
0000045A A036 syscall MoreMasters
0000045C 4EFA FF74 jmp [PC - 0x8C /* 000003D2 */]
export_47:
00000460 225F movea.l A1, [A7]+
00000462 205F movea.l A0, [A7]+
00000464 2F09 move.l -[A7], A1
00000466 A033 syscall VInstall
00000468 3F40 0004 move.w [A7 + 0x4], D0
0000046C 4E75 rts
export_48:
0000046E 225F movea.l A1, [A7]+
00000470 205F movea.l A0, [A7]+
00000472 2F09 move.l -[A7], A1
00000474 A034 syscall VRemove
00000476 3F40 0004 move.w [A7 + 0x4], D0
0000047A 4E75 rts
export_39:
0000047C 4E56 FFCE link A6, -0x0032
00000480 41EE FFCE lea.l A0, [A6 - 0x32]
00000484 316E 000A 0018 move.w [A0 + 0x18], [A6 + 0xA]
0000048A 317C 0008 001A move.w [A0 + 0x1A], 0x8
00000490 316E 0008 001C move.w [A0 + 0x1C], [A6 + 0x8]
00000496 A004 syscall Control
00000498 3D40 000C move.w [A6 + 0xC], D0
0000049C 4E5E unlink A6
0000049E 225F movea.l A1, [A7]+
000004A0 584F addq.w A7, 4
000004A2 4ED1 jmp [A1]
export_41:
000004A4 4E56 FFCE link A6, -0x0032
000004A8 41EE FFCE lea.l A0, [A6 - 0x32]
000004AC 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
000004B2 317C 0009 001A move.w [A0 + 0x1A], 0x9 /* '\t' */
000004B8 216E 000A 001C move.l [A0 + 0x1C], [A6 + 0xA]
000004BE 316E 0008 0020 move.w [A0 + 0x20], [A6 + 0x8]
000004C4 A004 syscall Control
000004C6 3D40 0010 move.w [A6 + 0x10], D0
000004CA 4E5E unlink A6
000004CC 225F movea.l A1, [A7]+
000004CE 504F addq.w A7, 8
000004D0 4ED1 jmp [A1]
export_38:
000004D2 4E56 FFCE link A6, -0x0032
000004D6 41EE FFCE lea.l A0, [A6 - 0x32]
000004DA 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
000004E0 317C 000A 001A move.w [A0 + 0x1A], 0xA /* '\n' */
000004E6 226E 0008 movea.l A1, [A6 + 0x8]
000004EA 2159 001C move.l [A0 + 0x1C], [A1]+
000004EE 2151 0020 move.l [A0 + 0x20], [A1]
000004F2 A004 syscall Control
000004F4 3D40 000E move.w [A6 + 0xE], D0
000004F8 4E5E unlink A6
000004FA 225F movea.l A1, [A7]+
000004FC 5C4F addq.w A7, 6
000004FE 4ED1 jmp [A1]
export_40:
00000500 303C 000C move.w D0, 0xC
label00000504:
00000504 4E56 FFCE link A6, -0x0032
00000508 41EE FFCE lea.l A0, [A6 - 0x32]
0000050C 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00000512 3140 001A move.w [A0 + 0x1A], D0
00000516 A004 syscall Control
00000518 3D40 000A move.w [A6 + 0xA], D0
0000051C 4E5E unlink A6
0000051E 225F movea.l A1, [A7]+
00000520 544F addq.w A7, 2
00000522 4ED1 jmp [A1]
export_36:
00000524 303C 000B move.w D0, 0xB
00000528 4EFA FFDA jmp [PC - 0x26 /* 00000504 */]
export_37:
0000052C 4E56 FFCE link A6, -0x0032
00000530 41EE FFCE lea.l A0, [A6 - 0x32]
00000534 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
0000053A 317C 0002 001A move.w [A0 + 0x1A], 0x2
00000540 A005 syscall Status
00000542 3D40 000E move.w [A6 + 0xE], D0
00000546 226E 0008 movea.l A1, [A6 + 0x8]
0000054A 22A8 001C move.l [A1], [A0 + 0x1C]
0000054E 4E5E unlink A6
00000550 225F movea.l A1, [A7]+
00000552 5C4F addq.w A7, 6
00000554 4ED1 jmp [A1]
export_32:
00000556 4E56 FFCE link A6, -0x0032
0000055A 48E7 3030 movem.l -[A7], D2,D3,A2,A3
0000055E 426E 000A clr.w [A6 + 0xA]
00000562 4A38 028E tst.b [0x0000028E /* ROM85 */]
00000566 6A00 00A6 bpl +0xA8 /* 0000060E */
0000056A 74FA moveq.l D2, 0xFFFFFFFA
0000056C 122E 0008 move.b D1, [A6 + 0x8]
00000570 6702 beq +0x4 /* 00000574 */
00000572 74F8 moveq.l D2, 0xFFFFFFF8
label00000574:
00000574 6100 0122 bsr +0x124 /* 00000698 */
00000578 6658 bne +0x5A /* 000005D2 */
0000057A 5342 subq.w D2, 1
0000057C 6100 011A bsr +0x11C /* 00000698 */
00000580 6650 bne +0x52 /* 000005D2 */
00000582 4A28 0007 tst.b [A0 + 0x7]
00000586 6600 0086 bne +0x88 /* 0000060E */
0000058A 70FF moveq.l D0, 0xFFFFFFFF
0000058C 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00000592 663E bne +0x40 /* 000005D2 */
00000594 6100 0120 bsr +0x122 /* 000006B6 */
00000598 6638 bne +0x3A /* 000005D2 */
0000059A 2038 028A move.l D0, [0x0000028A /* RSDHndl */]
0000059E 6E46 bgt +0x48 /* 000005E6 */
000005A0 7202 moveq.l D1, 0x02
000005A2 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
000005A6 5048 addq.w A0, 8
000005A8 3010 move.w D0, [A0]
000005AA 0C00 00FF cmpi.b D0, 0xFF
000005AE 6706 beq +0x8 /* 000005B6 */
000005B0 E048 lsr D0.w, 8
000005B2 665A bne +0x5C /* 0000060E */
000005B4 7201 moveq.l D1, 0x01
label000005B6:
000005B6 594F subq.w A7, 4
000005B8 2F3C 5345 5244 move.l -[A7], 0x53455244 /* 'SERD' */
000005BE 3F01 move.w -[A7], D1
000005C0 A9A0 syscall GetResource
000005C2 2617 move.l D3, [A7]
000005C4 6610 bne +0x12 /* 000005D6 */
000005C6 584F addq.w A7, 4
000005C8 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
000005CC 6604 bne +0x6 /* 000005D2 */
000005CE 303C FF40 move.w D0, 0xFF40
label000005D2:
000005D2 6000 0074 bra +0x76 /* 00000648 */
label000005D6:
000005D6 A992 syscall DetachResource
000005D8 2043 movea.l A0, D3
000005DA 08D0 0007 bset.b [A0], 0x7
000005DE 21C8 028A move.l [0x0000028A /* RSDHndl */], A0
000005E2 4238 028A clr.b [0x0000028A /* RSDHndl */]
label000005E6:
000005E6 2678 028A movea.l A3, [0x0000028A /* RSDHndl */]
000005EA 2653 movea.l A3, [A3]
000005EC 70E9 moveq.l D0, 0xFFFFFFE9
000005EE 0CAB 5345 5244 0004 cmpi.l [A3 + 0x4], 0x53455244 /* 'SERD' */
000005F6 66DA bne -0x24 /* 000005D2 */
000005F8 122E 0008 move.b D1, [A6 + 0x8]
000005FC 0338 028A btst [0x0000028A /* RSDHndl */], D1
00000600 660C bne +0xE /* 0000060E */
00000602 6100 00EE bsr +0xF0 /* 000006F2 */
00000606 03F8 .incomplete
00000608 028A 7001 4E93 andi.l A2, 0x70014E93
label0000060E:
0000060E 7401 moveq.l D2, 0x01
00000610 41EE FFCE lea.l A0, [A6 - 0x32]
00000614 43FA 0112 lea.l A1, [PC + 0x112 /* 00000728, value 0x42E4149, pstring ".AIn" */]
00000618 4A2E 0008 tst.b [A6 + 0x8]
0000061C 6704 beq +0x6 /* 00000622 */
0000061E 43FA 0113 lea.l A1, [PC + 0x113 /* 00000733, value 0x42E4249, pstring ".BIn" */]
label00000622:
00000622 2149 0012 move.l [A0 + 0x12], A1
00000626 4268 0016 clr.w [A0 + 0x16]
0000062A 4228 001B clr.b [A0 + 0x1B]
0000062E A000 syscall Open/PBHOpen/HOpen
00000630 6616 bne +0x18 /* 00000648 */
00000632 4241 clr.w D1
00000634 1219 move.b D1, [A1]+
00000636 D2C1 add.w A1, D1
00000638 51CA FFE8 dbf D2, -0x1A /* 00000622 */
label0000063C:
0000063C 4CDF 0C0C movem.l D2,D3,A2,A3, [A7]+
00000640 4E5E unlink A6
00000642 205F movea.l A0, [A7]+
00000644 544F addq.w A7, 2
00000646 4ED0 jmp [A0]
label00000648:
00000648 3D40 000A move.w [A6 + 0xA], D0
0000064C 60EE bra -0x10 /* 0000063C */
export_31:
0000064E 4E56 FFCE link A6, -0x0032
00000652 48E7 3030 movem.l -[A7], D2,D3,A2,A3
00000656 122E 0008 move.b D1, [A6 + 0x8]
0000065A 6100 0096 bsr +0x98 /* 000006F2 */
0000065E 4A38 028E tst.b [0x0000028E /* ROM85 */]
00000662 6AD8 bpl -0x26 /* 0000063C */
00000664 2038 028A move.l D0, [0x0000028A /* RSDHndl */]
00000668 6FD2 ble -0x2C /* 0000063C */
0000066A C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000066E 2040 movea.l A0, D0
00000670 2050 movea.l A0, [A0]
00000672 0CA8 5345 5244 0004 cmpi.l [A0 + 0x4], 0x53455244 /* 'SERD' */
0000067A 66C0 bne -0x3E /* 0000063C */
0000067C 03B8 028A bclr [0x0000028A /* RSDHndl */], D1
00000680 7000 moveq.l D0, 0x00
00000682 4E90 jsr [A0]
00000684 4A38 028A tst.b [0x0000028A /* RSDHndl */]
00000688 66B2 bne -0x4C /* 0000063C */
0000068A 2078 028A movea.l A0, [0x0000028A /* RSDHndl */]
0000068E A023 syscall DisposHandle/DisposeHandle
00000690 70FF moveq.l D0, 0xFFFFFFFF
00000692 21C0 028A move.l [0x0000028A /* RSDHndl */], D0
00000696 60A4 bra -0x5A /* 0000063C */
fn00000698:
00000698 41EE FFCE lea.l A0, [A6 - 0x32]
0000069C 3142 0018 move.w [A0 + 0x18], D2
000006A0 317C 0001 001A move.w [A0 + 0x1A], 0x1
000006A6 A005 syscall Status
000006A8 6608 bne +0xA /* 000006B2 */
000006AA 2068 001C movea.l A0, [A0 + 0x1C]
000006AE 2050 movea.l A0, [A0]
000006B0 6002 bra +0x4 /* 000006B4 */
label000006B2:
000006B2 70EA moveq.l D0, 0xFFFFFFEA
label000006B4:
000006B4 4E75 rts
fn000006B6:
000006B6 7000 moveq.l D0, 0x00
000006B8 2F02 move.l -[A7], D2
000006BA 1438 01FB move.b D2, [0x000001FB /* SPConfig */]
000006BE 4A01 tst.b D1
000006C0 6602 bne +0x4 /* 000006C4 */
000006C2 E80A lsr D2.b, 4
label000006C4:
000006C4 0202 000F andi.b D2, 0xF
000006C8 6708 beq +0xA /* 000006D2 */
000006CA 5502 subq.b D2, 2
000006CC 6704 beq +0x6 /* 000006D2 */
000006CE 709E moveq.l D0, 0xFFFFFF9E
000006D0 601A bra +0x1C /* 000006EC */
label000006D2:
000006D2 1438 0291 move.b D2, [0x00000291 /* PortBUse */]
000006D6 4A01 tst.b D1
000006D8 6604 bne +0x6 /* 000006DE */
000006DA 1438 0290 move.b D2, [0x00000290 /* PortAUse */]
label000006DE:
000006DE 0882 0007 bclr.b D2, 0x7
000006E2 6608 bne +0xA /* 000006EC */
000006E4 0A02 0002 xori.b D2, 0x2
000006E8 6702 beq +0x4 /* 000006EC */
000006EA 709F moveq.l D0, 0xFFFFFF9F
label000006EC:
000006EC 241F move.l D2, [A7]+
000006EE 4A40 tst.w D0
000006F0 4E75 rts
fn000006F2:
000006F2 70FA moveq.l D0, 0xFFFFFFFA
000006F4 4A01 tst.b D1
000006F6 6702 beq +0x4 /* 000006FA */
000006F8 70F8 moveq.l D0, 0xFFFFFFF8
label000006FA:
000006FA 41EE FFCE lea.l A0, [A6 - 0x32]
000006FE 3140 0018 move.w [A0 + 0x18], D0
00000702 A001 syscall Close
00000704 5368 0018 subq.w [A0 + 0x18], 1
00000708 A001 syscall Close
0000070A 4A38 028E tst.b [0x0000028E /* ROM85 */]
0000070E 6A16 bpl +0x18 /* 00000726 */
00000710 40C0 move.w D0, SR
00000712 007C 0600 ori.w sr, 1536
00000716 2078 01DC movea.l A0, [0x000001DC /* SCCWr */]
0000071A 10BC 0009 move.b [A0], 0x9 /* '\t' */
0000071E 3E97 move.w [A7], [A7]
00000720 10BC 000A move.b [A0], 0xA /* '\n' */
00000724 46C0 move.w SR, D0
label00000726:
00000726 4E75 rts
00000728 042E 4149 6E05 subi.b [A6 + 0x6E05], 0x49 /* 'I' */
0000072E 2E41 movea.l A7, D1
00000730 4F75 7404 chk.w D7, [A5 + D7.w * 4 + 0x4]
00000734 2E42 movea.l A7, D2
00000736 496E 052E chk.w D4, [A6 + 0x52E]
0000073A 424F clr.w A7
0000073C 7574 moveq.l D2, 0x74
export_25:
0000073E 225F movea.l A1, [A7]+
00000740 101F move.b D0, [A7]+
00000742 205F movea.l A0, [A7]+
00000744 6604 bne +0x6 /* 0000074A */
00000746 A000 syscall Open/PBHOpen/HOpen
00000748 6002 bra +0x4 /* 0000074C */
label0000074A:
0000074A A400 syscall Open/PBHOpen/HOpen, flags=4
label0000074C:
0000074C 3E80 move.w [A7], D0
0000074E 4ED1 jmp [A1]
export_26:
00000750 225F movea.l A1, [A7]+
00000752 101F move.b D0, [A7]+
00000754 205F movea.l A0, [A7]+
00000756 6604 bne +0x6 /* 0000075C */
00000758 A002 syscall Read
0000075A 6002 bra +0x4 /* 0000075E */
label0000075C:
0000075C A402 syscall Read, flags=4
label0000075E:
0000075E 3E80 move.w [A7], D0
00000760 4ED1 jmp [A1]
export_24:
00000762 225F movea.l A1, [A7]+
00000764 101F move.b D0, [A7]+
00000766 205F movea.l A0, [A7]+
00000768 6604 bne +0x6 /* 0000076E */
0000076A A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
0000076C 6002 bra +0x4 /* 00000770 */
label0000076E:
0000076E A407 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
label00000770:
00000770 3E80 move.w [A7], D0
00000772 4ED1 jmp [A1]
export_9:
00000774 4E56 FFCE link A6, -0x0032
00000778 41EE FFCE lea.l A0, [A6 - 0x32]
0000077C 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00000782 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00000788 4228 001A clr.b [A0 + 0x1A]
0000078C 4228 001B clr.b [A0 + 0x1B]
00000790 42A8 001C clr.l [A0 + 0x1C]
00000794 A000 syscall Open/PBHOpen/HOpen
00000796 226E 0008 movea.l A1, [A6 + 0x8]
0000079A 32A8 0018 move.w [A1], [A0 + 0x18]
0000079E 3D40 0012 move.w [A6 + 0x12], D0
000007A2 4E5E unlink A6
000007A4 205F movea.l A0, [A7]+
000007A6 DFFC 0000 000A add.l A7, 0xA /* '\n' */
000007AC 4ED0 jmp [A0]
export_7:
000007AE 4E56 FFCE link A6, -0x0032
000007B2 41EE FFCE lea.l A0, [A6 - 0x32]
000007B6 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000007BC A001 syscall Close
000007BE 3D40 000A move.w [A6 + 0xA], D0
000007C2 4E5E unlink A6
000007C4 205F movea.l A0, [A7]+
000007C6 548F addq.l A7, 2
000007C8 4ED0 jmp [A0]
export_10:
000007CA 51C1 sf D1
000007CC 6002 bra +0x4 /* 000007D0 */
export_11:
000007CE 50C1 st D1
label000007D0:
000007D0 4E56 FFCE link A6, -0x0032
000007D4 41EE FFCE lea.l A0, [A6 - 0x32]
000007D8 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
000007DE 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
000007E4 226E 000C movea.l A1, [A6 + 0xC]
000007E8 2151 0024 move.l [A0 + 0x24], [A1]
000007EC 4268 002C clr.w [A0 + 0x2C]
000007F0 42A8 002E clr.l [A0 + 0x2E]
000007F4 4A01 tst.b D1
000007F6 6604 bne +0x6 /* 000007FC */
000007F8 A002 syscall Read
000007FA 6002 bra +0x4 /* 000007FE */
label000007FC:
000007FC A003 syscall Write
label000007FE:
000007FE 3D40 0012 move.w [A6 + 0x12], D0
00000802 226E 000C movea.l A1, [A6 + 0xC]
00000806 22A8 0028 move.l [A1], [A0 + 0x28]
0000080A 4E5E unlink A6
0000080C 225F movea.l A1, [A7]+
0000080E DFFC 0000 000A add.l A7, 0xA /* '\n' */
00000814 4ED1 jmp [A1]
export_13:
00000816 4E56 FFB0 link A6, -0x0050
0000081A 41EE FFB0 lea.l A0, [A6 - 0x50]
0000081E 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00000824 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
0000082A 4228 001A clr.b [A0 + 0x1A]
0000082E 4268 001C clr.w [A0 + 0x1C]
00000832 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00000834 3D40 0012 move.w [A6 + 0x12], D0
00000838 41E8 0020 lea.l A0, [A0 + 0x20]
0000083C 226E 0008 movea.l A1, [A6 + 0x8]
00000840 303C 0010 move.w D0, 0x10
00000844 A02E syscall BlockMove/BlockMoveData
00000846 4E5E unlink A6
00000848 225F movea.l A1, [A7]+
0000084A DFFC 0000 000A add.l A7, 0xA /* '\n' */
00000850 4ED1 jmp [A1]
export_15:
00000852 4E56 FFC0 link A6, -0x0040
00000856 41EE FFC0 lea.l A0, [A6 - 0x40]
0000085A 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00000860 A014 syscall GetVol/PBHGetVol/HGetVol
00000862 3D40 0010 move.w [A6 + 0x10], D0
00000866 226E 0008 movea.l A1, [A6 + 0x8]
0000086A 32A8 0016 move.w [A1], [A0 + 0x16]
0000086E 4E5E unlink A6
00000870 225F movea.l A1, [A7]+
00000872 508F addq.l A7, 8
00000874 4ED1 jmp [A1]
export_45:
00000876 4E56 FFC0 link A6, -0x0040
0000087A 41EE FFC0 lea.l A0, [A6 - 0x40]
0000087E 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000884 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
0000088A A015 syscall SetVol/PBHSetVol/HSetVol
0000088C 3D40 000E move.w [A6 + 0xE], D0
00000890 4E5E unlink A6
00000892 225F movea.l A1, [A7]+
00000894 5C8F addq.l A7, 6
00000896 4ED1 jmp [A1]
export_2:
00000898 4E56 FFB0 link A6, -0x0050
0000089C 41EE FFB0 lea.l A0, [A6 - 0x50]
000008A0 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
000008A6 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
000008AC 4228 001A clr.b [A0 + 0x1A]
000008B0 A008 syscall Create/PBHCreate/HCreate
000008B2 4A40 tst.w D0
000008B4 6616 bne +0x18 /* 000008CC */
000008B6 4268 001C clr.w [A0 + 0x1C]
000008BA A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000008BC 2008 move.l D0, A0
000008BE 43E8 0020 lea.l A1, [A0 + 0x20]
000008C2 22EE 0008 move.l [A1]+, [A6 + 0x8]
000008C6 22AE 000C move.l [A1], [A6 + 0xC]
000008CA A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000008CC:
000008CC 3D40 0016 move.w [A6 + 0x16], D0
000008D0 4E5E unlink A6
000008D2 225F movea.l A1, [A7]+
000008D4 DFFC 0000 000E add.l A7, 0xE
000008DA 4ED1 jmp [A1]
export_8:
000008DC 4E56 FFCE link A6, -0x0032
000008E0 41EE FFCE lea.l A0, [A6 - 0x32]
000008E4 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000008EA 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000008F0 4228 001A clr.b [A0 + 0x1A]
000008F4 A009 syscall Delete/PBHDelete/HDelete
000008F6 3D40 000E move.w [A6 + 0xE], D0
000008FA 4E5E unlink A6
000008FC 225F movea.l A1, [A7]+
000008FE 5C8F addq.l A7, 6
00000900 4ED1 jmp [A1]
export_43:
00000902 4E56 FFB0 link A6, -0x0050
00000906 41EE FFB0 lea.l A0, [A6 - 0x50]
0000090A 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00000910 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00000916 4228 001A clr.b [A0 + 0x1A]
0000091A 4268 001C clr.w [A0 + 0x1C]
0000091E A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00000920 43E8 0020 lea.l A1, [A0 + 0x20]
00000924 206E 0008 movea.l A0, [A6 + 0x8]
00000928 303C 0010 move.w D0, 0x10
0000092C A02E syscall BlockMove/BlockMoveData
0000092E 41EE FFB0 lea.l A0, [A6 - 0x50]
00000932 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
00000934 3D40 0012 move.w [A6 + 0x12], D0
00000938 4E5E unlink A6
0000093A 225F movea.l A1, [A7]+
0000093C DFFC 0000 000A add.l A7, 0xA /* '\n' */
00000942 4ED1 jmp [A1]
export_12:
00000944 4E56 FFCE link A6, -0x0032
00000948 41EE FFCE lea.l A0, [A6 - 0x32]
0000094C 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00000952 A011 syscall GetEOF
00000954 3D40 000E move.w [A6 + 0xE], D0
00000958 226E 0008 movea.l A1, [A6 + 0x8]
0000095C 22A8 001C move.l [A1], [A0 + 0x1C]
00000960 4E5E unlink A6
00000962 225F movea.l A1, [A7]+
00000964 5C8F addq.l A7, 6
00000966 4ED1 jmp [A1]
export_42:
00000968 4E56 FFCE link A6, -0x0032
0000096C 41EE FFCE lea.l A0, [A6 - 0x32]
00000970 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00000976 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
0000097C A012 syscall SetEOF
0000097E 3D40 000E move.w [A6 + 0xE], D0
00000982 4E5E unlink A6
00000984 225F movea.l A1, [A7]+
00000986 5C8F addq.l A7, 6
00000988 4ED1 jmp [A1]
export_14:
0000098A 4E56 FFCE link A6, -0x0032
0000098E 41EE FFCE lea.l A0, [A6 - 0x32]
00000992 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00000998 A018 syscall GetFPos
0000099A 3D40 000E move.w [A6 + 0xE], D0
0000099E 226E 0008 movea.l A1, [A6 + 0x8]
000009A2 22A8 002E move.l [A1], [A0 + 0x2E]
000009A6 4E5E unlink A6
000009A8 225F movea.l A1, [A7]+
000009AA 5C8F addq.l A7, 6
000009AC 4ED1 jmp [A1]
export_44:
000009AE 4E56 FFCE link A6, -0x0032
000009B2 41EE FFCE lea.l A0, [A6 - 0x32]
000009B6 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
000009BC 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
000009C2 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
000009C8 A044 syscall SetFPos
000009CA 3D40 0010 move.w [A6 + 0x10], D0
000009CE 4E5E unlink A6
000009D0 225F movea.l A1, [A7]+
000009D2 508F addq.l A7, 8
000009D4 4ED1 jmp [A1]
000009D6 7401 moveq.l D2, 0x01
label000009D8:
000009D8 205F movea.l A0, [A7]+
000009DA 3F02 move.w -[A7], D2
000009DC 2F08 move.l -[A7], A0
000009DE ADEA syscall Pack3, auto_pop
export_46:
fn000009E0:
000009E0 7402 moveq.l D2, 0x02
000009E2 4EFA FFF4 jmp [PC - 0xC /* 000009D8 */]
export_23:
000009E6 206F 0004 movea.l A0, [A7 + 0x4]
000009EA 202F 0008 move.l D0, [A7 + 0x8]
000009EE 4267 clr.w -[A7]
000009F0 A9EE syscall Pack7/DecStr68K
000009F2 205F movea.l A0, [A7]+
000009F4 504F addq.w A7, 8
000009F6 4ED0 jmp [A0]
000009F8 206F 000C movea.l A0, [A7 + 0xC]
000009FC 2050 movea.l A0, [A0]
000009FE 7003 moveq.l D0, 0x03
00000A00 C028 0044 and.b D0, [A0 + 0x44]
00000A04 72FC moveq.l D1, 0xFFFFFFFC
00000A06 C338 0946 and.b [0x00000946 /* ChooserBits */], D1
00000A0A 8138 0946 or.b [0x00000946 /* ChooserBits */], D0
00000A0E 223C 000C 0000 move.l D1, 0xC0000
00000A14 6016 bra +0x18 /* 00000A2C */
00000A16 223C 0004 8004 move.l D1, 0x48004
00000A1C 600E bra +0x10 /* 00000A2C */
00000A1E 223C 0008 0008 move.l D1, 0x80008
00000A24 6006 bra +0x8 /* 00000A2C */
00000A26 223C 0004 000C move.l D1, 0x4000C
label00000A2C:
00000A2C 7003 moveq.l D0, 0x03
00000A2E C038 0946 and.b D0, [0x00000946 /* ChooserBits */]
00000A32 605E bra +0x60 /* 00000A92 */
00000A34 223C 0000 8000 move.l D1, 0x8000
00000A3A 7006 moveq.l D0, 0x06
00000A3C 6054 bra +0x56 /* 00000A92 */
00000A3E 223C 000C 8000 move.l D1, 0xC8000
00000A44 7007 moveq.l D0, 0x07
00000A46 604A bra +0x4C /* 00000A92 */
00000A48 223C 0004 8000 move.l D1, 0x48000
00000A4E 6036 bra +0x38 /* 00000A86 */
00000A50 223C 0004 8004 move.l D1, 0x48004
00000A56 602E bra +0x30 /* 00000A86 */
00000A58 223C 0004 8008 move.l D1, 0x48008
00000A5E 6026 bra +0x28 /* 00000A86 */
00000A60 223C 0004 000C move.l D1, 0x4000C
00000A66 601E bra +0x20 /* 00000A86 */
00000A68 223C 0004 0010 move.l D1, 0x40010
00000A6E 6016 bra +0x18 /* 00000A86 */
00000A70 223C 0008 8014 move.l D1, 0x88014
00000A76 600E bra +0x10 /* 00000A86 */
00000A78 223C 0004 8018 move.l D1, 0x48018
00000A7E 6006 bra +0x8 /* 00000A86 */
00000A80 223C 0008 801C move.l D1, 0x8801C
label00000A86:
00000A86 7004 moveq.l D0, 0x04
00000A88 6008 bra +0xA /* 00000A92 */
00000A8A 223C 0014 8000 move.l D1, 0x148000
00000A90 7005 moveq.l D0, 0x05
label00000A92:
00000A92 41FA 0050 lea.l A0, [PC + 0x50 /* 00000AE4, value 0x0, cstring "" */]
00000A96 48D0 1810 movem.l [A0], D4,A3,A4
00000A9A 2801 move.l D4, D1
00000A9C 265F movea.l A3, [A7]+
00000A9E 598F subq.l A7, 4
00000AA0 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00000AA6 3F00 move.w -[A7], D0
00000AA8 A9A0 syscall GetResource
00000AAA 201F move.l D0, [A7]+
00000AAC 672A beq +0x2C /* 00000AD8 */
00000AAE 2840 movea.l A4, D0
00000AB0 08D4 0007 bset.b [A4], 0x7
00000AB4 2054 movea.l A0, [A4]
00000AB6 7000 moveq.l D0, 0x00
00000AB8 1004 move.b D0, D4
00000ABA D1C0 add.l A0, D0
00000ABC 2F08 move.l -[A7], A0
00000ABE 4217 clr.b [A7]
00000AC0 205F movea.l A0, [A7]+
00000AC2 4E90 jsr [A0]
00000AC4 4A44 tst.w D4
00000AC6 6A04 bpl +0x6 /* 00000ACC */
00000AC8 0894 0007 bclr.b [A4], 0x7
label00000ACC:
00000ACC 224B movea.l A1, A3
00000ACE 41FA 0014 lea.l A0, [PC + 0x14 /* 00000AE4, value 0x0, cstring "" */]
00000AD2 4CD0 1810 movem.l D4,A3,A4, [A0]
00000AD6 4ED1 jmp [A1]
label00000AD8:
00000AD8 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
00000ADE 4844 swap.w D4
00000AE0 DEC4 add.w A7, D4
00000AE2 60E8 bra -0x16 /* 00000ACC */
00000AE4 0000 0000 ori.b D0, 0x0
00000AE8 0000 0000 ori.b D0, 0x0
00000AEC 0000 0000 ori.b D0, 0x0
export_30:
fn00000AF0:
00000AF0 7018 moveq.l D0, 0x18
label00000AF2:
00000AF2 4267 clr.w -[A7]
00000AF4 51C8 FFFC dbf D0, -0x6 /* 00000AF2 */
00000AF8 41FA 0014 lea.l A0, [PC + 0x14 /* 00000B0E, value 0x62E5072, pstring ".Print" */]
00000AFC 2F48 0012 move.l [A7 + 0x12], A0
00000B00 204F movea.l A0, A7
00000B02 A000 syscall Open/PBHOpen/HOpen
label00000B04:
00000B04 DEFC 0032 add.w A7, 0x32 /* '2' */
00000B08 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
00000B0C 4E75 rts
00000B0E 062E 5072 696E addi.b [A6 + 0x696E], 0x72 /* 'r' */
00000B14 7420 moveq.l D2, 0x20
export_29:
fn00000B16:
00000B16 9EFC 0032 sub.w A7, 0x32 /* '2' */
00000B1A 204F movea.l A0, A7
00000B1C 317C FFFD 0018 move.w [A0 + 0x18], 0xFFFD
00000B22 A001 syscall Close
00000B24 60DE bra -0x20 /* 00000B04 */
export_28:
00000B26 205F movea.l A0, [A7]+
00000B28 225F movea.l A1, [A7]+
00000B2A 201F move.l D0, [A7]+
00000B2C 221F move.l D1, [A7]+
00000B2E 341F move.w D2, [A7]+
00000B30 2F08 move.l -[A7], A0
00000B32 9EFC 0032 sub.w A7, 0x32 /* '2' */
00000B36 3F42 001A move.w [A7 + 0x1A], D2
00000B3A 2F41 001C move.l [A7 + 0x1C], D1
00000B3E 2F40 0020 move.l [A7 + 0x20], D0
00000B42 2F49 0024 move.l [A7 + 0x24], A1
00000B46 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
00000B4C 204F movea.l A0, A7
00000B4E A004 syscall Control
00000B50 60B2 bra -0x4C /* 00000B04 */
00000B52 619C bsr -0x62 /* 00000AF0 */
00000B54 6636 bne +0x38 /* 00000B8C */
00000B56 7200 moveq.l D1, 0x00
00000B58 6002 bra +0x4 /* 00000B5C */
00000B5A 7201 moveq.l D1, 0x01
label00000B5C:
00000B5C 594F subq.w A7, 4
00000B5E 2F3C 5354 5220 move.l -[A7], 0x53545220 /* 'STR ' */
00000B64 3F3C E000 move.w -[A7], 0xE000
00000B68 A9A0 syscall GetResource
00000B6A 201F move.l D0, [A7]+
00000B6C 672C beq +0x2E /* 00000B9A */
00000B6E 2240 movea.l A1, D0
00000B70 554F subq.w A7, 2
00000B72 08D1 0007 bset.b [A1], 0x7
00000B76 2F11 move.l -[A7], [A1]
00000B78 A997 syscall OpenResFile
00000B7A 301F move.w D0, [A7]+
00000B7C 0891 0007 bclr.b [A1], 0x7
00000B80 610C bsr +0xE /* 00000B8E */
00000B82 4A41 tst.w D1
00000B84 6706 beq +0x8 /* 00000B8C */
00000B86 3F00 move.w -[A7], D0
00000B88 A99A syscall CloseResFile
00000B8A 6102 bsr +0x4 /* 00000B8E */
label00000B8C:
00000B8C 4E75 rts
fn00000B8E:
00000B8E 31F8 0A60 0944 move.w [0x00000944 /* PrintErr */], [0x00000A60 /* ResErr */]
00000B94 6702 beq +0x4 /* 00000B98 */
00000B96 584F addq.w A7, 4
label00000B98:
00000B98 4E75 rts
label00000B9A:
00000B9A 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
00000BA0 4E75 rts
00000BA2 3F78 0944 0004 move.w [A7 + 0x4], [0x00000944 /* PrintErr */]
00000BA8 4E75 rts
00000BAA 205F movea.l A0, [A7]+
00000BAC 31DF 0944 move.w [0x00000944 /* PrintErr */], [A7]+
00000BB0 4ED0 jmp [A0]
export_20:
fn00000BB2:
00000BB2 4E56 FFF0 link A6, -0x0010
00000BB6 4267 clr.w -[A7]
00000BB8 4267 clr.w -[A7]
00000BBA 486E FFF0 pea.l [A6 - 0x10]
00000BBE A970 syscall GetNextEvent
00000BC0 101F move.b D0, [A7]+
00000BC2 42A7 clr.l -[A7]
00000BC4 302E FFFE move.w D0, [A6 - 0x2]
00000BC8 48C0 ext.l D0
00000BCA 2F00 move.l -[A7], D0
00000BCC 302E 0008 move.w D0, [A6 + 0x8]
00000BD0 48C0 ext.l D0
00000BD2 2F00 move.l -[A7], D0
00000BD4 A858 syscall BitAnd
00000BD6 4A9F tst.l [A7]+
00000BD8 56C0 sne D0
00000BDA 4400 neg.b D0
00000BDC 1D40 000A move.b [A6 + 0xA], D0
00000BE0 4E5E unlink A6
00000BE2 205F movea.l A0, [A7]+
00000BE4 544F addq.w A7, 2
00000BE6 4ED0 jmp [A0]
export_19:
00000BE8 4E56 0000 link A6, 0
00000BEC 207C 0000 03F6 movea.l A0, 0x3F6
00000BF2 0C50 FFFF cmpi.w [A0], 0xFFFF
00000BF6 56C0 sne D0
00000BF8 4400 neg.b D0
00000BFA 1D40 0008 move.b [A6 + 0x8], D0
00000BFE 4E5E unlink A6
00000C00 4E75 rts
fn00000C02:
00000C02 4E56 0000 link A6, 0
00000C06 2F0C move.l -[A7], A4
00000C08 286E 0008 movea.l A4, [A6 + 0x8]
00000C0C 206E 0008 movea.l A0, [A6 + 0x8]
00000C10 4268 000E clr.w [A0 + 0xE]
00000C14 2F2C 0008 move.l -[A7], [A4 + 0x8]
00000C18 3F2E 000C move.w -[A7], [A6 + 0xC]
00000C1C 486C FFFA pea.l [A4 - 0x6]
00000C20 486C FFFC pea.l [A4 - 0x4]
00000C24 486C FFF2 pea.l [A4 - 0xE]
00000C28 A98D syscall GetDialogItem/GetDItem
00000C2A 206C FFFC movea.l A0, [A4 - 0x4]
00000C2E 2050 movea.l A0, [A0]
00000C30 1028 0011 move.b D0, [A0 + 0x11]
00000C34 0240 00FF andi.w D0, 0xFF
00000C38 4A40 tst.w D0
00000C3A 6614 bne +0x16 /* 00000C50 */
00000C3C 2F2C FFFC move.l -[A7], [A4 - 0x4]
00000C40 3F3C 0001 move.w -[A7], 0x1
00000C44 A95D syscall HiliteControl
00000C46 206E 0008 movea.l A0, [A6 + 0x8]
00000C4A 316E 000C 000E move.w [A0 + 0xE], [A6 + 0xC]
label00000C50:
00000C50 285F movea.l A4, [A7]+
00000C52 4E5E unlink A6
00000C54 205F movea.l A0, [A7]+
00000C56 5C4F addq.w A7, 6
00000C58 4ED0 jmp [A0]
export_35:
00000C5A 4E56 FFF2 link A6, -0x000E
00000C5E 3D6E 000C 000E move.w [A6 + 0xE], [A6 + 0xC]
00000C64 0C6E FFFF 000C cmpi.w [A6 + 0xC], 0xFFFF
00000C6A 6622 bne +0x24 /* 00000C8E */
00000C6C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000C70 3F3C 0001 move.w -[A7], 0x1
00000C74 486E FFFA pea.l [A6 - 0x6]
00000C78 486E FFFC pea.l [A6 - 0x4]
00000C7C 486E FFF2 pea.l [A6 - 0xE]
00000C80 A98D syscall GetDialogItem/GetDItem
00000C82 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000C86 486D FD80 pea.l [A5 - 0x280]
00000C8A A95F syscall SetControlTitle/SetCTitle
00000C8C 6062 bra +0x64 /* 00000CF0 */
label00000C8E:
00000C8E 4267 clr.w -[A7]
00000C90 3F3C 0100 move.w -[A7], 0x100
00000C94 4EBA FF1C jsr [PC - 0xE4 /* 00000BB2 */]
00000C98 101F move.b D0, [A7]+
00000C9A 0A00 0001 xori.b D0, 0x1
00000C9E 6702 beq +0x4 /* 00000CA2 */
00000CA0 604E bra +0x50 /* 00000CF0 */
label00000CA2:
00000CA2 0C6E 03E8 000C cmpi.w [A6 + 0xC], 0x3E8
00000CA8 6F46 ble +0x48 /* 00000CF0 */
00000CAA 302E 000C move.w D0, [A6 + 0xC]
00000CAE 48C0 ext.l D0
00000CB0 81FC 0100 divs.w D0, 0x100
00000CB4 4840 swap.w D0
00000CB6 4A40 tst.w D0
00000CB8 0440 0063 subi.w D0, 0x63 /* 'c' */
00000CBC 6716 beq +0x18 /* 00000CD4 */
00000CBE 5340 subq.w D0, 1
00000CC0 6706 beq +0x8 /* 00000CC8 */
00000CC2 5340 subq.w D0, 1
00000CC4 671A beq +0x1C /* 00000CE0 */
00000CC6 6024 bra +0x26 /* 00000CEC */
label00000CC8:
00000CC8 3F3C 0006 move.w -[A7], 0x6
00000CCC 2F0E move.l -[A7], A6
00000CCE 4EBA FF32 jsr [PC - 0xCE /* 00000C02 */]
00000CD2 601C bra +0x1E /* 00000CF0 */
label00000CD4:
00000CD4 3F3C 0003 move.w -[A7], 0x3
00000CD8 2F0E move.l -[A7], A6
00000CDA 4EBA FF26 jsr [PC - 0xDA /* 00000C02 */]
00000CDE 6010 bra +0x12 /* 00000CF0 */
label00000CE0:
00000CE0 3F3C 0005 move.w -[A7], 0x5
00000CE4 2F0E move.l -[A7], A6
00000CE6 4EBA FF1A jsr [PC - 0xE6 /* 00000C02 */]
00000CEA 6004 bra +0x6 /* 00000CF0 */
label00000CEC:
00000CEC 426E 000E clr.w [A6 + 0xE]
label00000CF0:
00000CF0 4E5E unlink A6
00000CF2 205F movea.l A0, [A7]+
00000CF4 5C4F addq.w A7, 6
00000CF6 4ED0 jmp [A0]
fn00000CF8:
00000CF8 42AF 0010 clr.l [A7 + 0x10]
00000CFC 41FA 0008 lea.l A0, [PC + 0x8 /* 00000D06, value 0x0, cstring "" */]
00000D00 20AF 0004 move.l [A0], [A7 + 0x4]
00000D04 4E75 rts
00000D06 0000 0000 ori.b D0, 0x0
fn00000D0A:
00000D0A 4E75 rts
fn00000D0C:
00000D0C 205F movea.l A0, [A7]+
00000D0E 4E5D unlink A5
00000D10 2F08 move.l -[A7], A0
00000D12 4EBA 0026 jsr [PC + 0x26 /* 00000D3A */]
00000D16 4E75 rts
fn00000D18:
00000D18 205F movea.l A0, [A7]+
00000D1A 4E55 0000 link A5, 0
00000D1E 4ED0 jmp [A0]
fn00000D20:
00000D20 4E56 0000 link A6, 0
00000D24 41ED FD7C lea.l A0, [A5 - 0x284]
00000D28 2F08 move.l -[A7], A0
00000D2A A86E syscall InitGraf
00000D2C 4E5E unlink A6
00000D2E 4E75 rts
00000D30 C849 and.w D4, A1
00000D32 4E49 trap 9
00000D34 5447 addq.w D7, 2
00000D36 5241 addq.w D1, 1
00000D38 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000D3A-00000D58
fn00000D3A:
00000D3A 4E56 0000 link A6, 0
00000D3E 42AD FEE0 clr.l [A5 - 0x120]
00000D42 422D FEDA clr.b [A5 - 0x126]
00000D46 422D FEDB clr.b [A5 - 0x125]
00000D4A 42AD FED4 clr.l [A5 - 0x12C]
00000D4E 42AD FED0 clr.l [A5 - 0x130]
00000D52 42AD FEC4 clr.l [A5 - 0x13C]
00000D56 4E5E unlink A6
// end alternate branch 00000D3A-00000D58
fn00000D3A: // (misaligned)
00000D3C 0000 42AD ori.b D0, 0xAD
00000D40 FEE0 422D .extension 0xEE0 <<F/2-3/7>> // unimplemented
00000D44 FEDA 422D .extension 0xEDA <<F/2-3/7>> // unimplemented
00000D48 FEDB 42AD .extension 0xEDB <<F/2-3/7>> // unimplemented
00000D4C FED4 42AD .extension 0xED4 <<F/2-3/7>> // unimplemented
00000D50 FED0 42AD .extension 0xED0 <<F/2-3/7>> // unimplemented
00000D54 FEC4 4E5E .extension 0xEC4 <<F/2-3/7>> // unimplemented
00000D58 4E75 rts
00000D5A A549 syscall HPurge, flags=5
00000D5C 4E49 trap 9
00000D5E 5448 addq.w A0, 2
00000D60 4541 chk.w D2, D1
00000D62 0000 4267 ori.b D0, 0x67 /* 'g' */
00000D66 2F00 move.l -[A7], D0
00000D68 202F 0006 move.l D0, [A7 + 0x6]
00000D6C 2F40 0004 move.l [A7 + 0x4], D0
00000D70 3F7A 0008 0008 move.w [A7 + 0x8], [PC + 0x8 /* 00000D7A, value 0x0, cstring "" */]
00000D76 201F move.l D0, [A7]+
00000D78 4E75 rts
00000D7A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000D7C-00000D82
fn00000D7C:
00000D7C 4E56 0000 link A6, 0
00000D80 2C5F movea.l A6, [A7]+
// end alternate branch 00000D7C-00000D82
fn00000D7C: // (misaligned)
00000D7E 0000 2C5F ori.b D0, 0x5F /* '_' */
00000D82 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00000D86 2208 move.l D1, A0
00000D88 6632 bne +0x34 /* 00000DBC */
00000D8A 223A 0090 move.l D1, [PC + 0x90 /* 00000E1C, value 0x0, cstring "" */]
00000D8E 6622 bne +0x24 /* 00000DB2 */
00000D90 207A 0086 movea.l A0, [PC + 0x86 /* 00000E18, value 0x0, cstring "" */]
00000D94 4EBA 02AC jsr [PC + 0x2AC /* 00001042 */]
00000D98 2208 move.l D1, A0
00000D9A 6608 bne +0xA /* 00000DA4 */
00000D9C 41FA 007A lea.l A0, [PC + 0x7A /* 00000E18, value 0x0, cstring "" */]
00000DA0 20AD 000C move.l [A0], [A5 + 0xC]
label00000DA4:
00000DA4 41FA 006A lea.l A0, [PC + 0x6A /* 00000E10, value 0x1000000 */]
00000DA8 2B48 000C move.l [A5 + 0xC], A0
00000DAC 2B48 0008 move.l [A5 + 0x8], A0
00000DB0 604C bra +0x4E /* 00000DFE */
label00000DB2:
00000DB2 2F09 move.l -[A7], A1
00000DB4 3F00 move.w -[A7], D0
00000DB6 2041 movea.l A0, D1
00000DB8 4E90 jsr [A0]
00000DBA 6042 bra +0x44 /* 00000DFE */
label00000DBC:
00000DBC 0C10 0001 cmpi.b [A0], 0x1
00000DC0 661A bne +0x1C /* 00000DDC */
00000DC2 223A 0058 move.l D1, [PC + 0x58 /* 00000E1C, value 0x0, cstring "" */]
00000DC6 660A bne +0xC /* 00000DD2 */
00000DC8 207A 004E movea.l A0, [PC + 0x4E /* 00000E18, value 0x0, cstring "" */]
00000DCC 4EBA 0274 jsr [PC + 0x274 /* 00001042 */]
00000DD0 602C bra +0x2E /* 00000DFE */
label00000DD2:
00000DD2 2F09 move.l -[A7], A1
00000DD4 3F00 move.w -[A7], D0
00000DD6 2041 movea.l A0, D1
00000DD8 4E90 jsr [A0]
00000DDA 6022 bra +0x24 /* 00000DFE */
label00000DDC:
00000DDC D1FC 0000 0010 add.l A0, 0x10
00000DE2 48C0 ext.l D0
00000DE4 2140 0024 move.l [A0 + 0x24], D0
00000DE8 42A8 002E clr.l [A0 + 0x2E]
00000DEC 317C 0003 002C move.w [A0 + 0x2C], 0x3
00000DF2 2149 0020 move.l [A0 + 0x20], A1
00000DF6 A003 syscall Write
00000DF8 41FA FF80 lea.l A0, [PC - 0x80 /* 00000D7A, value 0x4E56 'NV', cstring "" */]
00000DFC 3080 move.w [A0], D0
label00000DFE:
00000DFE 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00000E02 4E75 rts
00000E04 4E5E unlink A6
00000E06 4E75 rts
00000E08 254F 5554 move.l [A2 + 0x5554], A7
00000E0C 4348 chk.w D1, A0
00000E0E 5320 subq.b -[A0], 1
00000E10 0100 btst D0, D0
00000E12 0000 0000 ori.b D0, 0x0
00000E16 0001 0000 ori.b D1, 0x0
00000E1A 0000 0000 ori.b D0, 0x0
00000E1E 0000 225F ori.b D0, 0x5F /* '_' */
export_27: // at 00000E20 (misaligned)
00000E22 41FA FFF4 lea.l A0, [PC - 0xC /* 00000E18, value 0x0, cstring "" */]
00000E26 209F move.l [A0], [A7]+
00000E28 4ED1 jmp [A1]
fn00000E2A:
00000E2A 48E7 4060 movem.l -[A7], D1,A1,A2
00000E2E 244F movea.l A2, A7
00000E30 3200 move.w D1, D0
00000E32 4840 swap.w D0
00000E34 303C 2020 move.w D0, 0x2020 /* ' ' */
00000E38 E249 lsr D1.w, 1
00000E3A 6402 bcc +0x4 /* 00000E3E */
00000E3C 5241 addq.w D1, 1
label00000E3E:
00000E3E 3F00 move.w -[A7], D0
00000E40 5341 subq.w D1, 1
00000E42 6EFA bgt -0x4 /* 00000E3E */
00000E44 224F movea.l A1, A7
00000E46 4840 swap.w D0
00000E48 4EBA FF32 jsr [PC - 0xCE /* 00000D7C */]
00000E4C 2E4A movea.l A7, A2
00000E4E 4CDF 0602 movem.l D1,A1,A2, [A7]+
00000E52 4E75 rts
export_53:
00000E54 4E56 0000 link A6, 0
00000E58 2C5F movea.l A6, [A7]+
00000E5A 225F movea.l A1, [A7]+
00000E5C 301F move.w D0, [A7]+
00000E5E 121F move.b D1, [A7]+
00000E60 205F movea.l A0, [A7]+
00000E62 2F09 move.l -[A7], A1
00000E64 5340 subq.w D0, 1
00000E66 6F04 ble +0x6 /* 00000E6C */
00000E68 4EBA FFC0 jsr [PC - 0x40 /* 00000E2A */]
label00000E6C:
00000E6C 1F01 move.b -[A7], D1
00000E6E 224F movea.l A1, A7
00000E70 7001 moveq.l D0, 0x01
00000E72 4EBA FF08 jsr [PC - 0xF8 /* 00000D7C */]
00000E76 101F move.b D0, [A7]+
00000E78 4E75 rts
00000E7A 4E5E unlink A6
00000E7C 4E75 rts
00000E7E 2557 5F43 move.l [A2 + 0x5F43], [A7]
00000E82 2020 move.l D0, -[A0]
00000E84 2020 move.l D0, -[A0]
export_54:
00000E86 4E56 0000 link A6, 0
00000E8A 2C5F movea.l A6, [A7]+
00000E8C 225F movea.l A1, [A7]+
00000E8E 321F move.w D1, [A7]+
00000E90 201F move.l D0, [A7]+
00000E92 205F movea.l A0, [A7]+
00000E94 2F09 move.l -[A7], A1
00000E96 48E7 1E00 movem.l -[A7], D3,D4,D5,D6
00000E9A 224F movea.l A1, A7
00000E9C 9FFC 0000 000C sub.l A7, 0xC
00000EA2 4242 clr.w D2
00000EA4 2C00 move.l D6, D0
00000EA6 6C02 bge +0x4 /* 00000EAA */
00000EA8 4480 neg.l D0
label00000EAA:
00000EAA 2600 move.l D3, D0
label00000EAC:
00000EAC 2803 move.l D4, D3
00000EAE 4244 clr.w D4
00000EB0 4844 swap.w D4
00000EB2 88FC 000A divu.w D4, 0xA /* '\n' */
00000EB6 2A04 move.l D5, D4
00000EB8 3A03 move.w D5, D3
00000EBA 8AFC 000A divu.w D5, 0xA /* '\n' */
00000EBE 4844 swap.w D4
00000EC0 2604 move.l D3, D4
00000EC2 3605 move.w D3, D5
00000EC4 4845 swap.w D5
00000EC6 0645 0030 addi.w D5, 0x30 /* '0' */
00000ECA 1305 move.b -[A1], D5
00000ECC 5242 addq.w D2, 1
00000ECE 4A83 tst.l D3
00000ED0 66DA bne -0x24 /* 00000EAC */
00000ED2 4A86 tst.l D6
00000ED4 6C06 bge +0x8 /* 00000EDC */
00000ED6 5242 addq.w D2, 1
00000ED8 133C 002D move.b -[A1], 0x2D /* '-' */
label00000EDC:
00000EDC 3601 move.w D3, D1
00000EDE 9642 sub.w D3, D2
00000EE0 6F06 ble +0x8 /* 00000EE8 */
00000EE2 3003 move.w D0, D3
00000EE4 4EBA FF44 jsr [PC - 0xBC /* 00000E2A */]
label00000EE8:
00000EE8 3002 move.w D0, D2
00000EEA 4EBA FE90 jsr [PC - 0x170 /* 00000D7C */]
00000EEE DFFC 0000 000C add.l A7, 0xC
00000EF4 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+
00000EF8 4E75 rts
00000EFA 4E5E unlink A6
00000EFC 4E75 rts
00000EFE 2557 5F49 move.l [A2 + 0x5F49], [A7]
00000F02 2020 move.l D0, -[A0]
00000F04 2020 move.l D0, -[A0]
export_55:
00000F06 4E56 0000 link A6, 0
00000F0A 2C5F movea.l A6, [A7]+
00000F0C 221F move.l D1, [A7]+
00000F0E 301F move.w D0, [A7]+
00000F10 225F movea.l A1, [A7]+
00000F12 205F movea.l A0, [A7]+
00000F14 2F01 move.l -[A7], D1
00000F16 4241 clr.w D1
00000F18 1219 move.b D1, [A1]+
00000F1A B041 cmp.w D0, D1
00000F1C 6E06 bgt +0x8 /* 00000F24 */
00000F1E 4A40 tst.w D0
00000F20 6F08 ble +0xA /* 00000F2A */
00000F22 6008 bra +0xA /* 00000F2C */
label00000F24:
00000F24 9041 sub.w D0, D1
00000F26 4EBA FF02 jsr [PC - 0xFE /* 00000E2A */]
label00000F2A:
00000F2A 3001 move.w D0, D1
label00000F2C:
00000F2C 4EBA FE4E jsr [PC - 0x1B2 /* 00000D7C */]
00000F30 4E75 rts
00000F32 4E5E unlink A6
00000F34 4E75 rts
00000F36 2557 5F53 move.l [A2 + 0x5F53], [A7]
00000F3A 5452 addq.w [A2], 2
00000F3C 2020 move.l D0, -[A0]
export_49:
00000F3E 4E56 0000 link A6, 0
00000F42 2F00 move.l -[A7], D0
00000F44 2F01 move.l -[A7], D1
00000F46 202F 0014 move.l D0, [A7 + 0x14]
00000F4A 222F 0010 move.l D1, [A7 + 0x10]
00000F4E 4EBA 003A jsr [PC + 0x3A /* 00000F8A */]
00000F52 2F41 0014 move.l [A7 + 0x14], D1
00000F56 221F move.l D1, [A7]+
00000F58 201F move.l D0, [A7]+
00000F5A 4E5E unlink A6
00000F5C 2F57 0004 move.l [A7 + 0x4], [A7]
00000F60 588F addq.l A7, 4
00000F62 4E75 rts
export_50:
00000F64 4E56 0000 link A6, 0
00000F68 2F00 move.l -[A7], D0
00000F6A 2F01 move.l -[A7], D1
00000F6C 202F 0014 move.l D0, [A7 + 0x14]
00000F70 222F 0010 move.l D1, [A7 + 0x10]
00000F74 4EBA 0014 jsr [PC + 0x14 /* 00000F8A */]
00000F78 2F40 0014 move.l [A7 + 0x14], D0
00000F7C 221F move.l D1, [A7]+
00000F7E 201F move.l D0, [A7]+
00000F80 4E5E unlink A6
00000F82 2F57 0004 move.l [A7 + 0x4], [A7]
00000F86 588F addq.l A7, 4
00000F88 4E75 rts
fn00000F8A:
00000F8A 4E56 0000 link A6, 0
00000F8E 2C5F movea.l A6, [A7]+
00000F90 48E7 3E00 movem.l -[A7], D2,D3,D4,D5,D6
00000F94 2A00 move.l D5, D0
00000F96 6A02 bpl +0x4 /* 00000F9A */
00000F98 4480 neg.l D0
label00000F9A:
00000F9A 2C01 move.l D6, D1
00000F9C 6A02 bpl +0x4 /* 00000FA0 */
00000F9E 4481 neg.l D1
label00000FA0:
00000FA0 2401 move.l D2, D1
00000FA2 4842 swap.w D2
00000FA4 4A42 tst.w D2
00000FA6 661C bne +0x1E /* 00000FC4 */
00000FA8 3600 move.w D3, D0
00000FAA 4240 clr.w D0
00000FAC 4840 swap.w D0
00000FAE 6704 beq +0x6 /* 00000FB4 */
00000FB0 80C1 divu.w D0, D1
00000FB2 3400 move.w D2, D0
label00000FB4:
00000FB4 4842 swap.w D2
00000FB6 3003 move.w D0, D3
00000FB8 80C1 divu.w D0, D1
00000FBA 3400 move.w D2, D0
00000FBC 2202 move.l D1, D2
00000FBE 4240 clr.w D0
00000FC0 4840 swap.w D0
00000FC2 601C bra +0x1E /* 00000FE0 */
label00000FC4:
00000FC4 2400 move.l D2, D0
00000FC6 2601 move.l D3, D1
00000FC8 4280 clr.l D0
00000FCA 4281 clr.l D1
00000FCC 781F moveq.l D4, 0x1F
label00000FCE:
00000FCE D482 add.l D2, D2
00000FD0 D180 addx.l D0, D0
00000FD2 D281 add.l D1, D1
00000FD4 B083 cmp.l D0, D3
00000FD6 6D04 blt +0x6 /* 00000FDC */
00000FD8 9083 sub.l D0, D3
00000FDA 5201 addq.b D1, 1
label00000FDC:
00000FDC 51CC FFF0 dbf D4, -0x12 /* 00000FCE */
label00000FE0:
00000FE0 4A85 tst.l D5
00000FE2 6A02 bpl +0x4 /* 00000FE6 */
00000FE4 4480 neg.l D0
label00000FE6:
00000FE6 BB86 xor.l D6, D5
00000FE8 6A02 bpl +0x4 /* 00000FEC */
00000FEA 4481 neg.l D1
label00000FEC:
00000FEC 4CDF 007C movem.l D2,D3,D4,D5,D6, [A7]+
00000FF0 4E75 rts
00000FF2 4E5E unlink A6
00000FF4 4E75 rts
00000FF6 4944 chk.w D4, D4
00000FF8 4956 chk.w D4, [A6]
00000FFA 4D4F chk.w D6, A7
00000FFC 4420 neg.b -[A0]
fn00000FFE:
00000FFE 4E75 rts
fn00001000:
00001000 2E9F move.l [A7], [A7]+
00001002 4E75 rts
export_52:
00001004 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00001008 7201 moveq.l D1, 0x01
0000100A 6006 bra +0x8 /* 00001012 */
export_51:
0000100C 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00001010 4241 clr.w D1
label00001012:
00001012 206F 0018 movea.l A0, [A7 + 0x18]
00001016 226F 0014 movea.l A1, [A7 + 0x14]
0000101A 4240 clr.w D0
0000101C 1018 move.b D0, [A0]+
0000101E B019 cmp.b D0, [A1]+
00001020 660E bne +0x10 /* 00001030 */
00001022 6004 bra +0x6 /* 00001028 */
label00001024:
00001024 B308 cmpm.b [A1]+, [A0]+
00001026 6608 bne +0xA /* 00001030 */
label00001028:
00001028 5340 subq.w D0, 1
0000102A 6AF8 bpl -0x6 /* 00001024 */
0000102C 0A41 0001 xori.w D1, 0x1
label00001030:
00001030 1F41 001A move.b [A7 + 0x1A], D1
00001034 2F6F 0010 0016 move.l [A7 + 0x16], [A7 + 0x10]
0000103A 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
0000103E 5C8F addq.l A7, 6
00001040 4E75 rts
fn00001042:
00001042 4E56 0000 link A6, 0
00001046 2C5F movea.l A6, [A7]+
00001048 48E7 F0F8 movem.l -[A7], D0,D1,D2,D3,A0,A1,A2,A3,A4
0000104C 4283 clr.l D3
0000104E 3600 move.w D3, D0
00001050 6F00 0158 ble +0x15A /* 000011AA */
00001054 2448 movea.l A2, A0
00001056 2649 movea.l A3, A1
00001058 2208 move.l D1, A0
0000105A 6652 bne +0x54 /* 000010AE */
0000105C 4A38 08F3 tst.b [0x000008F3 /* QDExist */]
00001060 6706 beq +0x8 /* 00001068 */
00001062 4EBA FCBC jsr [PC - 0x344 /* 00000D20 */]
00001066 A8FE syscall InitFonts
label00001068:
00001068 487A 0152 pea.l [PC + 0x152 /* 000011BC, value 0x0, cstring "" */]
0000106C A86F syscall OpenPort
0000106E 45FA 014C lea.l A2, [PC + 0x14C /* 000011BC, value 0x0, cstring "" */]
00001072 357C 0004 0044 move.w [A2 + 0x44], 0x4
00001078 357C 0009 004A move.w [A2 + 0x4A], 0x9 /* '\t' */
0000107E 487A 020A pea.l [PC + 0x20A /* 0000128A, value 0x0, cstring "" */]
00001082 A88B syscall GetFontInfo
00001084 41FA 0204 lea.l A0, [PC + 0x204 /* 0000128A, value 0x0, cstring "" */]
00001088 3028 0006 move.w D0, [A0 + 0x6]
0000108C D050 add.w D0, [A0]
0000108E D068 0002 add.w D0, [A0 + 0x2]
00001092 3140 0008 move.w [A0 + 0x8], D0
00001096 3F3C 0006 move.w -[A7], 0x6
0000109A 3F28 0008 move.w -[A7], [A0 + 0x8]
0000109E A893 syscall MoveTo
000010A0 42A7 clr.l -[A7]
000010A2 A8D8 syscall NewRgn
000010A4 41FA 01EE lea.l A0, [PC + 0x1EE /* 00001294, value 0x0, cstring "" */]
000010A8 209F move.l [A0], [A7]+
000010AA 2B4A 000C move.l [A5 + 0xC], A2
label000010AE:
000010AE 2255 movea.l A1, [A5]
000010B0 2851 movea.l A4, [A1]
000010B2 228A move.l [A1], A2
000010B4 41FA 0106 lea.l A0, [PC + 0x106 /* 000011BC, value 0x0, cstring "" */]
000010B8 B1CA cmpa.l A0, A2
000010BA 672A beq +0x2C /* 000010E6 */
000010BC 41FA 01D6 lea.l A0, [PC + 0x1D6 /* 00001294, value 0x0, cstring "" */]
000010C0 4A90 tst.l [A0]
000010C2 6622 bne +0x24 /* 000010E6 */
000010C4 487A 01C4 pea.l [PC + 0x1C4 /* 0000128A, value 0x0, cstring "" */]
000010C8 A88B syscall GetFontInfo
000010CA 41FA 01BE lea.l A0, [PC + 0x1BE /* 0000128A, value 0x0, cstring "" */]
000010CE 3028 0006 move.w D0, [A0 + 0x6]
000010D2 D050 add.w D0, [A0]
000010D4 D068 0002 add.w D0, [A0 + 0x2]
000010D8 3140 0008 move.w [A0 + 0x8], D0
000010DC 42A7 clr.l -[A7]
000010DE A8D8 syscall NewRgn
000010E0 41FA 01B2 lea.l A0, [PC + 0x1B2 /* 00001294, value 0x0, cstring "" */]
000010E4 209F move.l [A0], [A7]+
label000010E6:
000010E6 0C13 000D cmpi.b [A3], 0xD /* '\r' */
000010EA 660C bne +0xE /* 000010F8 */
000010EC 3F3C 0006 move.w -[A7], 0x6
000010F0 3F2A 0030 move.w -[A7], [A2 + 0x30]
000010F4 A893 syscall MoveTo
000010F6 6006 bra +0x8 /* 000010FE */
label000010F8:
000010F8 0C13 000A cmpi.b [A3], 0xA /* '\n' */
000010FC 662E bne +0x30 /* 0000112C */
label000010FE:
000010FE 303A 0192 move.w D0, [PC + 0x192 /* 00001292, value 0x0, cstring "" */]
00001102 3200 move.w D1, D0
00001104 D06A 0030 add.w D0, [A2 + 0x30]
00001108 5840 addq.w D0, 4
0000110A B06A 0014 cmp.w D0, [A2 + 0x14]
0000110E 6514 bcs +0x16 /* 00001124 */
00001110 486A 0010 pea.l [A2 + 0x10]
00001114 4267 clr.w -[A7]
00001116 4441 neg.w D1
00001118 3F01 move.w -[A7], D1
0000111A 2F3A 0178 move.l -[A7], [PC + 0x178 /* 00001294, value 0x0, cstring "" */]
0000111E A8EF syscall ScrollRect
00001120 6000 0084 bra +0x86 /* 000011A6 */
label00001124:
00001124 4267 clr.w -[A7]
00001126 3F01 move.w -[A7], D1
00001128 A894 syscall Move
0000112A 607A bra +0x7C /* 000011A6 */
label0000112C:
0000112C 0C13 0007 cmpi.b [A3], 0x7
00001130 6608 bne +0xA /* 0000113A */
00001132 3F3C 0014 move.w -[A7], 0x14
00001136 A9C8 syscall SysBeep
00001138 606C bra +0x6E /* 000011A6 */
label0000113A:
0000113A 41FA 014E lea.l A0, [PC + 0x14E /* 0000128A, value 0x0, cstring "" */]
0000113E 7200 moveq.l D1, 0x00
00001140 3228 0004 move.w D1, [A0 + 0x4]
00001144 C2C3 mulu.w D1, D3
00001146 518F subq.l A7, 8
00001148 224F movea.l A1, A7
0000114A 0C13 0008 cmpi.b [A3], 0x8
0000114E 6614 bne +0x16 /* 00001164 */
00001150 302A 0032 move.w D0, [A2 + 0x32]
00001154 9041 sub.w D0, D1
00001156 3340 0002 move.w [A1 + 0x2], D0
0000115A 336A 0032 0006 move.w [A1 + 0x6], [A2 + 0x32]
00001160 3601 move.w D3, D1
00001162 6010 bra +0x12 /* 00001174 */
label00001164:
00001164 336A 0032 0002 move.w [A1 + 0x2], [A2 + 0x32]
0000116A 302A 0032 move.w D0, [A2 + 0x32]
0000116E D041 add.w D0, D1
00001170 3340 0006 move.w [A1 + 0x6], D0
label00001174:
00001174 302A 0030 move.w D0, [A2 + 0x30]
00001178 9050 sub.w D0, [A0]
0000117A 3280 move.w [A1], D0
0000117C 302A 0030 move.w D0, [A2 + 0x30]
00001180 D068 0002 add.w D0, [A0 + 0x2]
00001184 3340 0004 move.w [A1 + 0x4], D0
00001188 4851 pea.l [A1]
0000118A A8A3 syscall EraseRect
0000118C 508F addq.l A7, 8
0000118E 0C13 0008 cmpi.b [A3], 0x8
00001192 660A bne +0xC /* 0000119E */
00001194 4443 neg.w D3
00001196 3F03 move.w -[A7], D3
00001198 4267 clr.w -[A7]
0000119A A894 syscall Move
0000119C 6008 bra +0xA /* 000011A6 */
label0000119E:
0000119E 2F0B move.l -[A7], A3
000011A0 4267 clr.w -[A7]
000011A2 3F03 move.w -[A7], D3
000011A4 A885 syscall DrawText
label000011A6:
000011A6 2255 movea.l A1, [A5]
000011A8 228C move.l [A1], A4
label000011AA:
000011AA 4CDF 1F0F movem.l D0,D1,D2,D3,A0,A1,A2,A3,A4, [A7]+
000011AE 4E75 rts
000011B0 4E5E unlink A6
000011B2 4E75 rts
000011B4 254F 5554 move.l [A2 + 0x5554], A7
000011B8 4348 chk.w D1, A0
000011BA 434F chk.w D1, A7
000011BC 0000 0000 ori.b D0, 0x0
000011C0 0000 0000 ori.b D0, 0x0
000011C4 0000 0000 ori.b D0, 0x0
000011C8 0000 0000 ori.b D0, 0x0
000011CC 0000 0000 ori.b D0, 0x0
000011D0 0000 0000 ori.b D0, 0x0
000011D4 0000 0000 ori.b D0, 0x0
000011D8 0000 0000 ori.b D0, 0x0
000011DC 0000 0000 ori.b D0, 0x0
000011E0 0000 0000 ori.b D0, 0x0
000011E4 0000 0000 ori.b D0, 0x0
000011E8 0000 0000 ori.b D0, 0x0
000011EC 0000 0000 ori.b D0, 0x0
000011F0 0000 0000 ori.b D0, 0x0
000011F4 0000 0000 ori.b D0, 0x0
000011F8 0000 0000 ori.b D0, 0x0
000011FC 0000 0000 ori.b D0, 0x0
00001200 0000 0000 ori.b D0, 0x0
00001204 0000 0000 ori.b D0, 0x0
00001208 0000 0000 ori.b D0, 0x0
0000120C 0000 0000 ori.b D0, 0x0
00001210 0000 0000 ori.b D0, 0x0
00001214 0000 0000 ori.b D0, 0x0
00001218 0000 0000 ori.b D0, 0x0
0000121C 0000 0000 ori.b D0, 0x0
00001220 0000 0000 ori.b D0, 0x0
00001224 0000 0000 ori.b D0, 0x0
00001228 0000 0000 ori.b D0, 0x0
0000122C 0000 0000 ori.b D0, 0x0
00001230 0000 0000 ori.b D0, 0x0
00001234 0000 0000 ori.b D0, 0x0
00001238 0000 0000 ori.b D0, 0x0
0000123C 0000 0000 ori.b D0, 0x0
00001240 0000 0000 ori.b D0, 0x0
00001244 0000 0000 ori.b D0, 0x0
00001248 0000 0000 ori.b D0, 0x0
0000124C 0000 0000 ori.b D0, 0x0
00001250 0000 0000 ori.b D0, 0x0
00001254 0000 0000 ori.b D0, 0x0
00001258 0000 0000 ori.b D0, 0x0
0000125C 0000 0000 ori.b D0, 0x0
00001260 0000 0000 ori.b D0, 0x0
00001264 0000 0000 ori.b D0, 0x0
00001268 0000 0000 ori.b D0, 0x0
0000126C 0000 0000 ori.b D0, 0x0
00001270 0000 0000 ori.b D0, 0x0
00001274 0000 0000 ori.b D0, 0x0
00001278 0000 0000 ori.b D0, 0x0
0000127C 0000 0000 ori.b D0, 0x0
00001280 0000 0000 ori.b D0, 0x0
00001284 0000 0000 ori.b D0, 0x0
00001288 0000 0000 ori.b D0, 0x0
0000128C 0000 0000 ori.b D0, 0x0
00001290 0000 0000 ori.b D0, 0x0
00001294 0000 0000 ori.b D0, 0x0